﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Money.aspx.cs" Inherits="WebSite.cn.Money" %>

<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="category.ascx" TagName="category" TagPrefix="uc2" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<%@ Register Src="leftimg.ascx" TagName="leftimg" TagPrefix="uc4" %>
<%@ Register Src="leftimgs.ascx" TagName="leftimgs" TagPrefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>

    <center>
	<uc1:head ID="head_1" runat="server" />
<div id="container">
   
	  <div class="title">

			<p>账户余额</p>
              <div style="width:100%"  align="left" >  <img src="images/span_solid.png" width="970" height="5px" alt="" /></div>
	  </div>
	  <div class="pro02"><br />
	    <br />
	    <div>
         <div align="left" style="padding-left:20px"><strong>您的余额为：</strong><font color="red"><%=accountmoney%> </font><strong>元</strong></div>
         <div align="left" style="padding-left:20px"><strong>您的历史充值记录</strong></div>
        <form id="form1" runat="server">

        <asp:GridView ID="GridView1" runat="server" Width="95%" CellPadding="4" ForeColor="#333333" DataKeyNames="cardid" AutoGenerateColumns="False" AllowPaging="false" pagesize="50" BorderStyle="Solid" BorderWidth="1px" 
      ShowFooter="false" EmptyDataText="没有数据记录！！"  RowStyle-Height="22px" HeaderStyle-Height="25px" HeaderStyle-BackColor="#eeeeee" >
        <Columns>
          
      
        <asp:BoundField HeaderText="卡号" DataField="cardcode" />
        <asp:BoundField HeaderText="金额" DataField="cardprice"  />
      <asp:BoundField HeaderText="有效日期开始" DataField="endtime"  />
      <asp:BoundField HeaderText="有效日期结束" DataField="lasttime"  />
       <asp:BoundField HeaderText="已使用金頞" DataField="usedMoney"  />
       <asp:BoundField HeaderText="余额" DataField="remainMoney"  />
        <asp:BoundField HeaderText="使用日期" DataField="userdDate" />
      
        </Columns>
           
        </asp:GridView>

	    <br />
        <br />
          <div align="left" style="padding-left:20px"><strong>账户充值（把礼品卡金额转到账户内）</strong></div>
          <br />
	      <table width="95%" align="center" border="0" cellpadding="0" cellspacing="0">
            <tr>
             <td>礼品卡号：</td>
             <td><asp:TextBox ID="txtCardCode" runat="server"></asp:TextBox> </td>
            <td>密 码：</td>
            <td><asp:TextBox ID="txtCardPassword" runat="server" TextMode="Password"></asp:TextBox> </td>

                <td height="28">验证码：</td>
                <td >　
                <asp:TextBox ID="txtValidate" runat="server" Width="60px"></asp:TextBox> 
                            

                    </td>
                    <td>
                       <img src="../admin/CheckCode.aspx" width="68px" />
                    
                    </td>

              <td colspan="2" align="center">
             <asp:Button ID="btnAdd" runat="server" CssClass="button"  Text="充值" onclick="btnAdd_Click" />
             </td>
            </tr>
            <tr>
            <td colspan="6" align="center">
                <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
                </td>



            </tr>
            </table>
          </form>
	    </div>
         <br />
               <br />
                <br />
	  </div>
             
   <uc3:bottom ID="bottom_1" runat="server" /> 
</div>   
</center>


</body>
</html>
